package com.xcx.dto;

import com.xcx.common.dto.base.BaseReq;
import com.xcx.common.utils.StringUtils;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class UpdateCalcuSkinReq extends BaseReq{

	private static final long serialVersionUID = 193243204832L;
	
	private String userNo;
	
	private String skinNo;
	
	@Override
    public String validate() {
		String result = super.validate();
        if (StringUtils.isNotBlank(result)) {
            return result;
        }
        if (StringUtils.isBlank(userNo)) {
            return "用户号不能为空";
        }
        if (StringUtils.isBlank(skinNo)) {
            return "皮肤编号不能为空";
        }
        return null;
	}
}
